|
|
|
|
|
|
|
Light does not travel at the same speed in all substances. For instance, light travels faster through air or a vacuum than it does through water or glass. When light passes from one medium into another, its direction of travel changes. This change is called refraction. You can see refraction when you look at something through a curved lens, a prism, or a glass full of water. |
|
|
|
|
|
|
|
|
The angle through which the light bends is determined by the speed of light in the substances the light is leaving and entering. Figure 17.22 shows a ray of light moving from air into a block of glass. The angles q1 and q2 are related to each other by the indexes of refraction of the two substancesin this case, air and glass. |
|
|
|
|
|
|
|
|
The index of refraction of a substance is the ratio of the speed of light in vacuum to the speed of light in the substance. |
|
|
|
 |
|
|
|
|
Index of refraction = Cvacuum / Csubstance |
|
|
|
|
|
|
|
|
Table 17.1 lists the indexes of refraction for several common substances. You may find these numbers useful for characterizing objects in your ray-tracing programs. Of course, you are not restricted to these numbers. Using an unusually large index of refraction can sometimes produce interesting results. |
|
|
|
|
|
|
|
|
If the index of refraction in one substance is n1 and the index of refraction in the other is n2, the angles in Figure 17.22 are related by Snell's law: |
|
|
|
 |
|
|
|
|
Sin(q1) / Sin(q2) = n2 / n1 |
|
|
|
|
|
|
|
|
This equation has some important consequences. If light passes from a substance with a high index of refraction into one with a lower index of refraction, then n1 > n2. In that case, if you replace q2 with 90 degrees in Snell's law, you can solve for q1. |
|
|
|
|
|
|
|
|
Figure 17.22
Refraction occurs when light passes from
one substance into another. |
|
|
|
|
|